Documents for PDF, .NET Edition Documentation
Sort(Int32,Int32,StructComparison<T>) Method

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Common Namespace > StructList<T> Class > Sort Method : Sort(Int32,Int32,StructComparison<T>) Method
The zero-based starting index of the range to sort.
The length of the range to sort.
The GrapeCity.Documents.Common.StructComparison`1 to use when comparing elements.
Sorts the elements in a range of elements in StructList<T> using the specified GrapeCity.Documents.Common.StructComparison`1.
Syntax
'Declaration
 
Public Overloads Sub Sort( _
   ByVal index As System.Integer, _
   ByVal count As System.Integer, _
   ByVal comparison As GrapeCity.Documents.Common.StructComparison(Of T) _
) 
public void Sort( 
   System.int index,
   System.int count,
   GrapeCity.Documents.Common.StructComparison<T> comparison
)

Parameters

index
The zero-based starting index of the range to sort.
count
The length of the range to sort.
comparison
The GrapeCity.Documents.Common.StructComparison`1 to use when comparing elements.
See Also

Reference

StructList<T> Class
StructList<T> Members
Overload List